from django.db import models
from django.contrib.auth.models import User

# Create your models here.
class Server(models.Model):
    name = models.CharField(max_length=200)
    ip = models.CharField(max_length=200)
    port = models.CharField(max_length=200,default="25565")
    owner = models.ForeignKey(User, on_delete=models.CASCADE)